package exsun.jt808.data.distribute_data.jt808;

/**
 * 拐点属性
 */
public class InflexionInfo {
    /**
     * 拐点 ID
     */
    private int inflexionId;
    /**
     * 路段 ID
     */
    private int lineId;
    /**
     * 拐点纬度
     */
    private double lat;
    /**
     * 拐点经度
     */
    private double lng;
    /**
     * 路段宽度
     * 单位为米（m），路段为该拐点到下一拐点
     */
    private int lineWith;
    /**
     * 路段属性
     */
    private LineProperty lineProperty;
    /**
     * 路段行驶过长阈值
     * 单位为秒（s），若路段属性 0 位为 0 则没有该字段
     */
    private int lineDriverOutTime;
    /**
     * 路段行驶不足阈值
     * 单位为秒（s），若路段属性 0 位为 0 则没有该字段
     */
    private int lineDriverShortTime;
    /**
     * 路段最高速度
     * 单位为公里每小时（km/h），若路段属性 1 位为 0 则没有该
     * 字段
     */
    private int lineMaxSpeed;
    /**
     * 路段超速持续时间
     * 单位为秒（s），若路段属性 1 位为 0 则没有该字段
     */
    private int lineOverSpeedTime;

    /**
     * 夜间最高速度
     * @return
     */
    private int maxSpeedInNight;



    public int getInflexionId() {
        return inflexionId;
    }

    public void setInflexionId(int inflexionId) {
        this.inflexionId = inflexionId;
    }

    public int getLineId() {
        return lineId;
    }

    public void setLineId(int lineId) {
        this.lineId = lineId;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public int getLineWith() {
        return lineWith;
    }

    public void setLineWith(int lineWith) {
        this.lineWith = lineWith;
    }

    public LineProperty getLineProperty() {
        return lineProperty;
    }

    public void setLineProperty(LineProperty lineProperty) {
        this.lineProperty = lineProperty;
    }

    public int getLineDriverOutTime() {
        return lineDriverOutTime;
    }

    public void setLineDriverOutTime(int lineDriverOutTime) {
        this.lineDriverOutTime = lineDriverOutTime;
    }

    public int getLineDriverShortTime() {
        return lineDriverShortTime;
    }

    public void setLineDriverShortTime(int lineDriverShortTime) {
        this.lineDriverShortTime = lineDriverShortTime;
    }

    public int getLineMaxSpeed() {
        return lineMaxSpeed;
    }

    public void setLineMaxSpeed(int lineMaxSpeed) {
        this.lineMaxSpeed = lineMaxSpeed;
    }

    public int getLineOverSpeedTime() {
        return lineOverSpeedTime;
    }

    public void setLineOverSpeedTime(int lineOverSpeedTime) {
        this.lineOverSpeedTime = lineOverSpeedTime;
    }

    public int getMaxSpeedInNight() {
        return maxSpeedInNight;
    }

    public void setMaxSpeedInNight(int maxSpeedInNight) {
        this.maxSpeedInNight = maxSpeedInNight;
    }
}
